WatsonConv\API C

Total Complexity 117
Dependencies 9
Dependents 4
Total lines 787
Lines of code 577
Logical lines of code 295
Comment lines 107
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
route_request_v3()
B
36 15 77
route_request_v2()
B
36 15 76
check_usage_allowed()
A
42 15 52
register_routes()
A
41 9 62
get_debug_info()
S
56 7 17
get_client_ip()
S
58 7 16
create_session_v3()
S
48 5 33
create_session()
S
49 5 32
record_api_usage()
S
54 5 24
route_request()
S
54 5 22
route_request_v1()
S
48 4 33
mail_context_vars()
S
56 5 16
detect_api_version()
S
63 4 11
reply_with_response_error()
S
52 2 26
reset_client_usage()
S
67 3 8
on_before_mail_send()
S
60 2 13
twilio_call()
S
60 2 13
twilio_get_token()
S
60 1 13
reset_total_usage()
S
80 1 3
add_cron_schedules()
S
68 1 6
uninit_rate_limit()
S
74 1 5
init_rate_limit()
S
69 1 6
reply_with_text()
S
66 1 10
on_mail_error()
S
80 1 3